package com.geline.easyexcel.compute;

import java.util.Set;

/**
 * @author: mengxin
 * @date: 2024/1/22 21:01
 */
public class ArrayComputeUtilTest {

    public static void main(String[] args){
        Integer[] arr = new Integer[]{1,2,3,4};//m个数字
        Set<String> integers = ArrayComputeUtil.sortByInteger(arr, true);
        System.out.println(integers);

        String[] arrStr = new String[]{"1","2","3","4"};//m个数字
        Set<String> res = ArrayComputeUtil.sortByString(arrStr, true);
        System.out.println(res);
    }
}
